Trò chơi Tic-Tac-Toe, game đánh caro full source code
2 // <summary>The Photon Chat Api enables clients to connect to a chat server and communicate with other clients.</summary>
3 // <remarks>ChatClient is the main class of this api.</remarks>
4 // <copyright company="Exit Games GmbH">Photon Chat Api - Copyright (C) 2014 Exit Games GmbH</copyright>
5 // ----------------------------------------------------------------------------------------------------------------------
6
7 namespace ExitGames.Client.Photon.Chat
8 {
9 /// <summary>Enumaration of causes for Disconnects (used in LoadBalancingClient.DisconnectedCause).</summary>
10 /// <remarks>Read the individual descriptions to find out what to do about this type of disconnect.</remarks>
11 public enum ChatDisconnectCause
12 {
13 /// <summary>No error was tracked.</summary>
14 None,
15 /// <summary>OnStatusChanged: The CCUs count of your Photon Server License is exausted (temporarily).</summary>
16 DisconnectByServerUserLimit,
17 /// <summary>OnStatusChanged: The server is not available or the address is wrong. Make sure the port is provided and the server is up.</summary>
18 ExceptionOnConnect,
19 /// <summary>OnStatusChanged: The server disconnected this client. Most likely the server's send buffer is full (receiving too much from other clients).</summary>
20 DisconnectByServer,
21 /// <summary>OnStatusChanged: This client detected that the server's responses are not received in due time. Maybe you send / receive too much?</summary>
22 TimeoutDisconnect,
23 /// <summary>OnStatusChanged: Some internal exception caused the socket code to fail. Contact Exit Games.</summary>
24 Exception,
25 /// <summary>OnOperationResponse: Authenticate in the Photon Cloud with invalid AppId. Update your subscription or contact Exit Games.</summary>
26 InvalidAuthentication,
27 /// <summary>OnOperationResponse: Authenticate (temporarily) failed when using a Photon Cloud subscription without CCU Burst. Update your subscription.</summary>
28 MaxCcuReached,
29 /// <summary>OnOperationResponse: Authenticate when the app's Photon Cloud subscription is locked to some (other) region(s). Update your subscription or master server address.</summary>
30 InvalidRegion,
31 /// <summary>OnOperationResponse: Operation that's (currently) not available for this client (not authorized usually). Only tracked for op Authenticate.</summary>
32 OperationNotAllowedInCurrentState,
33 /// <summary>OnOperationResponse: Authenticate in the Photon Cloud with invalid client values or custom authentication setup in Cloud Dashboard.</summary>
34 CustomAuthenticationFailed,
35 }
36 }
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------